function zuo1(){
	var nav=document.getElementById("nav");
	var cStyle=document.defaultView.getComputedStyle(nav);
	var left=parseInt(cStyle.left);
	if(left<=0&&left>-2370){
		left-=238;
		nav.style.left=left+"px";
		nav.style.transition="500ms";
	}else if(left<=-2380){
		nav.style.left=-2380+"px";
	}
	var zuo=document.getElementById("zuo");
    zuo.onclick = null;
    clearTimeout(timer);
    var timer = setTimeout(function(){zuo.onclick = zuo1;},500);
}
function you1(){
	var nav=document.getElementById("nav");
	var cStyle=document.defaultView.getComputedStyle(nav);
	var left=parseInt(cStyle.left);
	if(left<0){
		left+=238;
		nav.style.left=left+"px";
		nav.style.transition="500ms";
	}else if(left>=0){
		nav.style.left=0+"px";
	}
	var you=document.getElementById("you");
    you.onclick = null;
    clearTimeout(timer);
    var timer = setTimeout(function(){you.onclick = you1;},600);
}

